package com.hutao.medical.service;


import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hutao.medical.dataSource.TargetDataSource;
import com.hutao.medical.mapper.TreatmentTraceMapper;


@Transactional
@Service
public class TreatmentTraceService {
	
	@Autowired
	private TreatmentTraceMapper treatmentTraceMapper;

	@TargetDataSource(name = "ds1")
	public int insertTreatmentTrace(Map<String, Object> params) {
		return treatmentTraceMapper.insertTreatmentTrace(params);
	}
	
	
}
